#pragma once

#include "slPrimitive.hh"
#include <math.h>

#define DOUBLE_PI 3.1415926535897

struct Vertices
{
	int x;
	int y;
	int z;
	double u;
	double v;
};

class slSphere : public slPrimitive
{
public:
	slSphere(int radius);
	slSphere(int x, int y, int z, int radius);
	virtual ~slSphere();
	
	void draw();

private:
	int space;
	int VertexCount;
	Vertices *vertices;
	int _radius;
	void createSphere(double r, double h, double k, double z);
};